import tableCellSetting from './tableCellSetting/index.vue'
import filterPopover from './filterPopover/index.vue'
import mountContent from './comDetailView/index'
import itemTitle from './itemTitle/index.vue'
import operationView from './operationView/index.vue'
import developView from './developView/index.vue'
import tableView from './tableView/index.vue'
import appPricePopover from './appPricePopover/index.vue'
import productPopover from './productPopover/index.vue'
import uploadFileView from './uploadFileView/index.vue'
import detailDrawer from './detailDrawer/index.vue'
import areaListView from './areaListView/index.vue'
import priceInput from './priceInput/index.vue'
import imageUpload from './imageUpload/index.vue'
import imageUploadView from './imageUploadView/index.vue'
import shippingPopover from './shippingPopover/index'
import tableTools from './tableTools/index'
import addTerminalDialog from './addTerminalDialog/index'
import appTradingPopover from './appTradingPopover/index'
import distributePricePopover from './distributePricePopover/index'
import addPlanTerminaDialog from './addPlanTerminaDialog/index.vue'
import approvalRecord from './approvalRecord/index.vue'
import approvalDialog from './approvalDialog/index.vue'
import distributorTable from './distributorTable/index.vue'
import changeFormValue from './changeFormValue/index.vue'
import filesUploadView from './filesUploadView/index.vue'
import distributorsView from './distributorsView/index.vue'
import moreSearchBtn from './moreSearchBtn/index.vue'
import filterBusiness from './filterBusiness/index.vue'
import productPopoverId from './productPopoverId/index.vue'
import datePicker from './datePicker/index.vue'
import dateRangePicker from './dateRangePicker/index.vue'
import yearRangePicker from './yearRangePicker/index.vue'
import toolTip from './toolTip/index.vue'
import searchFrom from './searchFrom/index.vue'
import chancePopover from './chancePopover/index.vue'
import myLink from './myLink/index.vue'
import myTooltip from './myTooltip/index.vue'
import sellerProduct from './sellerProduct/index.vue'
import sellerTask from './sellerTask/index.vue'

export default function componentsRegister(app) {
  app.component('ChancePopover', chancePopover)
  app.component('TableCellSetting', tableCellSetting)
  app.component('FilterPopover', filterPopover)
  app.component('ItemTitle', itemTitle)
  app.component('OperationView', operationView)
  app.component('DevelopView', developView)
  app.component('TableView', tableView)
  app.component('AppPricePopover', appPricePopover)
  app.component('ProductPopover', productPopover)
  app.component('UploadFileView', uploadFileView)
  app.component('DetailDrawer', detailDrawer)
  app.component('AreaListView', areaListView)
  app.component('PriceInput', priceInput)
  app.component('ImageUpload', imageUpload)
  app.component('ImageUploadView', imageUploadView)
  app.component('ShippingPopover', shippingPopover)
  app.component('TableTools', tableTools)
  app.component('AddTerminalDialog', addTerminalDialog)
  app.component('AddPlanTerminaDialog', addPlanTerminaDialog)
  app.component('AppTradingPopover', appTradingPopover)
  app.component('DistributePricePopover', distributePricePopover)
  app.component('ApprovalRecord', approvalRecord)
  app.component('ApprovalDialog', approvalDialog)
  app.component('DistributorTable', distributorTable)
  app.component('ChangeFormValue', changeFormValue)
  app.component('FilesUploadView', filesUploadView)
  app.component('DistributorsView', distributorsView)
  app.component('MoreSearchBtn', moreSearchBtn)
  app.component('FilterBusiness', filterBusiness)
  app.component('ProductPopoverId', productPopoverId)
  app.component('DatePicker', datePicker)
  app.component('DateRangePicker', dateRangePicker)
  app.component('YearRangePicker', yearRangePicker)
  app.component('ToolTip', toolTip)
  app.component('SearchFrom', searchFrom)
  app.component('MyLink', myLink)
  app.component('MyTooltip', myTooltip)
  app.component('SellerProduct', sellerProduct)
  app.component('SellerTask', sellerTask)

  app.config.globalProperties.$mountContent = (option) => {
    mountContent(app, option)
  }
}
